﻿using System;
using System.Collections.Generic;

namespace YaAppoint.Appointments.Schedules
{
    /// <summary>
    /// 排班表
    /// </summary>
    public class Schedule:CommonEntity
    {
        /// <summary>
        /// 科室
        /// </summary>
        public virtual Department Department { get; set; }

        /// <summary>
        /// 科室ID
        /// </summary>
        public virtual Guid DepartmentId { get; set; }

        /// <summary>
        /// 设备类型
        /// </summary>
        public virtual DeviceType DeviceType { get; set; }

        /// <summary>
        /// 设备类型ID
        /// </summary>
        public virtual Guid DeviceTypeId { get; set; }

        /// <summary>
        /// 时间段集合
        /// </summary>
        public virtual List<TimeInterval> TimeIntervals { get; set; }

        /// <summary>
        /// 号池计划
        /// (依赖于排班)
        /// </summary>
        public virtual List<PlanPool> PlanPools { get; set; }

    }
}
